package com.bike.bikeserver.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bike.bikeserver.domain.vo.BaseVo;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author ZZX
 * @since 2023-08-21
 */
@Getter
@Setter
@TableName("zone_bike_summary")
public class ZoneBikeSummary extends BaseVo implements Serializable
{
    /**
     * 区域id
     */
    private Integer zoneId;

    public ZoneBikeSummary(Integer zoneId, Integer sharedBikeNum, Integer privateBikeNum, Integer motorNum, Integer sumNum)
    {
        this.zoneId = zoneId;
        this.sharedBikeNum = sharedBikeNum;
        this.privateBikeNum = privateBikeNum;
        this.motorNum = motorNum;
        this.sumNum = sumNum;
    }

    /**
     * 共享单车数量
     */
    private Integer sharedBikeNum;

    /**
     * 私人单车数量
     */
    private Integer privateBikeNum;

    /**
     * 摩托车、电动车数量
     */
    private Integer motorNum;

    /**
     * 总数量
     */
    private Integer sumNum;

}
